<html>
<head><meta charset="utf-8"><title>renaming targets · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/renaming.20targets.html">renaming targets</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="202605903"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/renaming%20targets/near/202605903" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/renaming.20targets.html#202605903">(Jul 01 2020 at 18:28)</a>:</h4>
<p>I wonder exactly how terrible it would be to rename a target. What kind of fun fallout would we incur?</p>



<a name="202610763"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/renaming%20targets/near/202610763" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/renaming.20targets.html#202610763">(Jul 01 2020 at 19:08)</a>:</h4>
<p>Could probably just alias it. What's the motivation though?</p>



<a name="202611178"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/renaming%20targets/near/202611178" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/renaming.20targets.html#202611178">(Jul 01 2020 at 19:11)</a>:</h4>
<p>No actual motivation yet. Just idly musing about the naming for macOS + ARM targets: "what if we get it wrong?"</p>



<a name="202611539"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/renaming%20targets/near/202611539" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/renaming.20targets.html#202611539">(Jul 01 2020 at 19:14)</a>:</h4>
<p>Ah, okay</p>



<a name="202611706"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/renaming%20targets/near/202611706" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/renaming.20targets.html#202611706">(Jul 01 2020 at 19:15)</a>:</h4>
<p>Also, "what if we realize the new target we <em>should</em> use is taken by something"</p>



<a name="202611818"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/renaming%20targets/near/202611818" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/renaming.20targets.html#202611818">(Jul 01 2020 at 19:16)</a>:</h4>
<p>like, what if someone said "ARM means iOS" and somehow that got encoded into the target</p>



<a name="202612234"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/renaming%20targets/near/202612234" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/renaming.20targets.html#202612234">(Jul 01 2020 at 19:19)</a>:</h4>
<p>That would be a problem, but I'm not sure how that's possible? What do you mean by "ARM means iOS"? The target triple has dedicated parts for the architecture (or more accurately the target instruction set) and operating system, so that seem like it should never happen</p>



<a name="202612440"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/renaming%20targets/near/202612440" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/renaming.20targets.html#202612440">(Jul 01 2020 at 19:21)</a>:</h4>
<p>yes, I'd hope so :-)</p>



<a name="202612542"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/renaming%20targets/near/202612542" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/renaming.20targets.html#202612542">(Jul 01 2020 at 19:22)</a>:</h4>
<p>Current <code>*apple*</code> targets:</p>
<div class="codehilite"><pre><span></span><code>aarch64-apple-ios
aarch64-apple-tvos
armv7-apple-ios
armv7s-apple-ios
i386-apple-ios
i686-apple-darwin
x86_64-apple-darwin
x86_64-apple-ios
x86_64-apple-ios-macabi
x86_64-apple-tvos
</code></pre></div>



<a name="202612628"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/renaming%20targets/near/202612628" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/renaming.20targets.html#202612628">(Jul 01 2020 at 19:22)</a>:</h4>
<p>So, it's already not <em>perfectly</em> accurate:</p>
<blockquote>
<p>Darwin forms the core set of components upon which macOS (previously OS X and Mac OS X), iOS, watchOS, tvOS, and iPadOS are based</p>
</blockquote>



<a name="202612745"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/renaming%20targets/near/202612745" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/renaming.20targets.html#202612745">(Jul 01 2020 at 19:24)</a>:</h4>
<p>I also assume that <code>darwin</code> actually means "macOS"</p>



<a name="202612801"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/renaming%20targets/near/202612801" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/renaming.20targets.html#202612801">(Jul 01 2020 at 19:24)</a>:</h4>
<p>Yep</p>



<a name="202612803"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/renaming%20targets/near/202612803" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/renaming.20targets.html#202612803">(Jul 01 2020 at 19:24)</a>:</h4>
<p>I wonder if anyone actually uses Darwin directly anymore</p>



<a name="202612815"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/renaming%20targets/near/202612815" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> André Arko <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/renaming.20targets.html#202612815">(Jul 01 2020 at 19:24)</a>:</h4>
<p>it does! hilariously, the os name in the darwin target is macos, but the os name in the ios target is darwin</p>



<a name="202612890"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/renaming%20targets/near/202612890" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/renaming.20targets.html#202612890">(Jul 01 2020 at 19:24)</a>:</h4>
<p>and if something using <code>-darwin</code> would actually compile / run on "pure Darwin"</p>



<a name="202613101"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/renaming%20targets/near/202613101" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> André Arko <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/renaming.20targets.html#202613101">(Jul 01 2020 at 19:26)</a>:</h4>
<p>how does rust handle android/linux? I saw some people in the golang tracking ticket mention that they will probably need to copy their strategy of "android implies linux as well" for their new targets</p>



<a name="202613166"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/renaming%20targets/near/202613166" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> André Arko <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/renaming.20targets.html#202613166">(Jul 01 2020 at 19:27)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116155">Jake Goulding</span> <a href="#narrow/stream/122651-general/topic/renaming.20targets/near/202612890">said</a>:</p>
<blockquote>
<p>and if something using <code>-darwin</code> would actually compile / run on "pure Darwin"</p>
</blockquote>
<p>considering that target explicitly sets the os name to <code>macos</code>, I suspect it would not</p>



<a name="202613187"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/renaming%20targets/near/202613187" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/renaming.20targets.html#202613187">(Jul 01 2020 at 19:27)</a>:</h4>
<p>Is there even a Darwin that is not macOS out there ?</p>



<a name="202613203"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/renaming%20targets/near/202613203" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/renaming.20targets.html#202613203">(Jul 01 2020 at 19:27)</a>:</h4>
<p>Nowadays</p>



<a name="202650984"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/renaming%20targets/near/202650984" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> XAMPPRocky <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/renaming.20targets.html#202650984">(Jul 02 2020 at 05:12)</a>:</h4>
<p><span class="user-mention" data-user-id="307289">@Poliorcetics</span> All of Apple's devices run at least some flavour of Darwin.</p>



<a name="202651008"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/renaming%20targets/near/202651008" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> XAMPPRocky <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/renaming.20targets.html#202651008">(Jul 02 2020 at 05:13)</a>:</h4>
<p>Which is why I originally brought this up as darwin is not an accurate description of the actual target.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>